package com.qf.xiaomi.pojo;

import java.util.Date;
import java.util.List;

/**
 * 订单详情
 * @Created by 马英超 on 2022/8/20 9:37
 * @author： 马英超
 * @version：v1.0
 * @description:
 */
public class OrderDetail {
  private  String  id;//订单编号
  private  Date time;//订单时间
  private  int money;//总价
  private  TbAddress address;//订单地址
  private  List<ProduceOrderInfo> list;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public TbAddress getAddress() {
        return address;
    }

    public void setAddress(TbAddress address) {
        this.address = address;
    }

    public List<ProduceOrderInfo> getList() {
        return list;
    }

    public void setList(List<ProduceOrderInfo> list) {
        this.list = list;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }


    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", time=" + time +
                ", money=" + money +
                ", address=" + address +
                ", list=" + list +
                '}';
    }
}
